﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _006_虚方法_隐藏方法_this和base的区别_抽象类
{
    class Father
    {
        public string name = "父亲";
        //虚方法关键字
        public virtual void Move()
        {
            int i = 1;
            Console.Write("父亲在走路");
        }
    }
}
